package com.qiyuesuo.file.service;

import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.Map;


public interface FileService {

    //文件上传
     Map<String, String> uploadFile(MultipartFile file);

    //根据uuid下载文件
    void downloadFile(String newName, HttpServletResponse rs);

    //根据uuid获取元数据
    Map getFileData(String newName);
}
